package com.xmutca.micro.uaa.repository;

import com.xmutca.micro.uaa.model.User;
import org.springframework.stereotype.Service;

/**
 * @author: 彭伟煌(pengweihuang@xmutca.com)
 * @create: 2017-07-27 17:45
 */
@Service
public class UserRepository {

    public User findByUsername(String username) {
        return new User(username);
    }
}
